{extend name="base" /}
{block name="content"}
<div class="g-main">
    <div class="m-main-title">
        <div class="m-container-fluid">
            <a href="{:url('index/welcome')}"><i class="icon icon-home"></i>首页</a>
            <span class="icon-angle-right"></span>
            <span>系统</span>
            <span class="icon-angle-right"></span>
            <span>分销管理</span>
            <span class="icon-angle-right"></span>
            <span>用户分配</span>
            <a class="u-flush"><i class="icon-repeat"></i></a>
        </div>
    </div>
    <div class="m-main-content">
        <div class="m-container">

            <form class="layui-form">
                <table class="m-table mt-10">
                    <tbody class="datas">
                    <tr>
                        <th width="5%">ID</th>
                        <th width="10%">头像</th>
                        <th width="20%">昵称</th>
<!--                        <th width="15%">上级名称</th>-->
                        <th width="15%">注册时间</th>
                        <!--                            <th width="15%" style="display: none">审核状态</th>-->
                        <th width="15%">操作</th>
                        <!--                            <th width="10%">操作</th>-->
                        <!--                            <th width="10%">操作</th>-->
                    </tr>
                    {foreach name="data" item="v"}
                    <tr>
                        <td>{$v.id}</td>
                        <td><img src="{$v.headimgurl}" alt="" style="display: block; width: 50px; height: 50px;" /></td>
                        <td>{$v.nickname}</td>
                        <!--<td>{$v.role_name}</td>-->
<!--                        <td>{$v.parent_txt}</td>-->
                        <td>{$v.create_time}</td>
                        <!--                            <td style="display: none"><input type="checkbox" name="checked" data-id="{$v.id}" lay-skin="switch" lay-filter="switch" lay-text="ON|OFF"{$v.checked ? ' checked' : ''} /></td>-->
<!--                        <td><input type="checkbox" name="status" data-id="{$v.id}" lay-skin="switch" lay-filter="switch" lay-text="启用|禁用"{$v.status ? ' checked' : ''} /></td>-->
                        <td class="m-opt">
                            <a href="{:url('distribution', ['member_id' => $v.id])}" title="分配">分配</a><!-- <a href="javascript:;" title="删除" class="u-del" data-id="{$v.id}"><i class="icon-trash"></i></a> -->
<!--                                                        <a href="{:url('indexfx1', ['userid' => $v.id])}" title="查看下级">查看下级</a>-->
                        </td>
                    </tr>
                    {/foreach}
                    </tbody>
                </table>
            </form>
            {include file="public:page" /}
        </div>
    </div>
</div>
{/block}
<script src="__STATIC__/public/My97DatePicker/WdatePicker.js"></script>
{block name="extrajs"}
{include file="laypage" /}
{/block}